 <div class="box box_margin">
           <div class="chitiet_box_title" style="width: 302px;"><?=t(5012)?></div>
           <div class="clear"></div>
           <? $countFriend = count($this->viewParams['user']);?>

           <div class="vietnam_content_right chitiet_categore_bg" style="background: rgb(255, 255, 255) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">
             	<?$avatar = APP_PATH."/public/ufiles/%d/images/%s/avatar/avatar.jpg";?>
              <?for($i=0;$i<min(9,$countFriend);$i++){?>
			        <div class="blog_friend_img2">
			        <?
						if(isset($this->viewParams['user'][$i]['id']) && file_exists(sprintf($avatar, $this->viewParams['user'][$i]['id'] , "medium"))){
							$temp = sprintf($avatar, $this->viewParams['user'][$i]['id'] , "medium");
						}elseif(isset($this->viewParams['user'][$i]['id']) &&  file_exists(sprintf($avatar, $this->viewParams['user'][$i]['id'] , "small"))){
							$temp = sprintf($avatar, $this->viewParams['user'][$i]['id'] , "small");
						}else $temp = sprintf($avatar, 0 , "small");
						?>
						<a href="<?=$this->hvnUrl(array('action' => 'view'), 'account')?>?id=<?=$this->viewParams['user'][$i]['id']?>"><img src="<?=$temp;?>" align="absmiddle"></a>
					 <div class="clear"></div>
					 
					 
						<a title = "<?=$this->viewParams['user'][$i]['name']?>" href="<?=$this->hvnUrl(array('action' => 'view'), 'account')?>?id=<?=$this->viewParams['user'][$i]['id']?>">
							<?=substr($this->viewParams['user'][$i]['name'],0 ,6);?>
							<?if(strlen($this->viewParams['user'][$i]['name'])>6)
								echo '..';
							?>
						</a>
					</div>
					
					<?}?>
					
					
					
					
					
              <div class="clear"></div> 
           </div>
           
           
           
		   <div class="clear"></div> 
         </div>